<?php
@ini_set('display_errors', false);
@error_reporting(E_ERROR | E_WARNING | E_PARSE);
$_GET = array_map('htmlspecialchars', preg_replace('/[\r\n]+/', '', $_GET));
$content_t = '';
if (isset($_GET['xml_file']) && !empty($_GET['xml_file'])) {
  $_GET['xml_file'] = preg_replace('/(\.+\/)+/i', '', $_GET['xml_file']);
  if (file_exists($_GET['xml_file'])) {
    @ob_start();
    @ include ($_GET['xml_file']);
    $content_t .= @ob_get_contents();
    @ob_end_clean();
    if (isset($expires)) {
      @header('Expires: '.$expires.'');
    }
  }
}
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<script type="text/javascript" language="JavaScript">
<!--
function addOther(){var par=parent.document.getElementById('<?php echo $_GET['xml_id']; ?>');var a=<?php echo isset($_GET['xml_a'])&&$_GET['xml_a']==1?1:0;?>;if(par!=null){var text=document.getElementById('fr').innerHTML.replace(/^[\s\n\r]+|[\s\n\r]+$/,'');text=text!=''?text:'&#x52A0;&#x8F7D;&#x5931;&#x8D25;&#xFF01;&#x8BF7;&#x68C0;&#x67E5;&#x7F51;&#x7EDC;&#x3002;';if(a==1){par.innerHTML+=text}else{par.innerHTML=text}}}if(document.all){window.attachEvent('onload',addOther)}else{window.addEventListener('load',addOther,false)}
-->
</script>
</head>
<body>
<div id="fr">
<?php echo $content_t; ?>
</div>
</body>
</html>